:root {
  --gray-accent: #777777;
  --red: #ff3333;
  --red-accent: #FFD9D9;
  --blue: #0BE7F8;
  --blue-accent: #D9FCFF;
  --green: #B1FF57;
  --green-accent: #ECFFD7;
}

p {
  text-align: left;
  margin: auto;
  max-width: 500px;
  font-size: 1.3rem;
  line-height: 1.6;
  font-family: "Roboto";
}

n {
  text-align: left;
  margin: auto;
  max-width: 500px;
  font-family: "Roboto";
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  max-width: 600px;
  font-weight: 900;
  font-family: "Roboto";
}

main {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20%;
}

#static-content {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20%;
}

p.talk {
  max-width: 950px;
  font-size: 17px;
}

h1.section-header {
  font-family: "Roboto";
  font-weight: bold;
  padding-top: 1.1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  font-size: 1.1rem;
  text-transform: lowercase;
  text-align: left;
  text-decoration: underline;
}

h1.interactive-header {
  font-family: "Roboto";
  font-weight: bold;
  padding-top: 1.1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  font-size: 1.1rem;
  text-transform: lowercase;
  text-align: left;
  text-decoration: underline;
  margin: auto;
  padding-left: 10%;
}

#content {
  margin: auto;
  text-align: left;
  max-width: 100%;
}

a {
  font-family: "Roboto";
  color: black;
  text-decoration: underline;
}

a:hover {
  background-size: 100% 88%;
  text-decoration: none;
}

.project-wrapper {
  list-style-type: none;
  flex-basis: 25%;
  margin-bottom: 0px;
  padding: 1rem;
  width: 100%;
}

a.project-link {
  background-image: none;
  /* text-decoration: underline; */
}

.project-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  column-gap: 1rem;
  margin: auto;
}

.project-wrapper,
.project-description {
  width: 95%;
}

.project-wrapper img {
  width: 100%;
  margin-bottom: 1em;
  border-radius: 25px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

.project-title {
  font-size: 21px;
  font-family: "Roboto";
  font-weight: bold;
  display: table-row;
  line-height: 1.4;
  color: black;
}

.project-description {
  font-family: "Roboto";
  font-size: 17px;
  font-weight: 400;
  color: black;
  width: 100%;
}

ul {
    padding-left: 0px; }

li:hover .project-description:not(.no-hover) {
  color: black;
}

li img {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

li:hover img:not(.no-hover) {
  -ms-transform: scale(1.02);
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

li .project-description {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 1250px) {
  #static-content {
    padding: 0;
  }
  main {
    padding: 0 10%;
  }

  p,
  p.talk {
    font-size: 17px;
  }

  #intro {
    column-gap: 1rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 740px) {
  #static-content {
    padding: 0;
  }
  main {
    max-width: none;
    padding: 0;
  }

  p,
  p.talk {
    font-size: 17px;
  }

  #intro {
    column-gap: 1rem;
  }

  .project-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* layout */
#name {
  display: flex;
  column-gap: 2rem;
  justify-content: start;
  margin: 0 1.5rem;
  padding-top: 0;
  text-align: left;
  position: absolute; top: 0; left: 0;
  z-index: 1;
}

#nav {
  display: flex;
  column-gap: 2rem;
  justify-content: end;
  margin: 0 1.5rem;
  padding-top: 0;
  text-align: left;
  position: relative; top: -8px; right: -8px
}

a {
  font-family: "Roboto";
  color: black;
  text-decoration: none;
  /* background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); */
  background-image: linear-gradient(120deg, var(--red) 0%, var(--red) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
}

a:hover {
  background-size: 100% 88%;
  text-decoration: none;
}

/* global */
#intro {
  display: flex;
  max-width: 500px;
  text-align: center;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
  column-gap: 3rem;
  margin: auto;
}
h2 {
  font-size: 1.5rem;
  margin-top: 20px;
}

p {
  text-align: left;
  margin: auto;
  max-width: 600px;
  font-size: 1.3rem;
  line-height: 1.6;
  font-family: "Roboto";
}

h1 {
  text-align: left;
  font-size: 2.5rem;
  max-width: 600px;
  font-weight: 900;
  font-family: "Roboto";
}

.bold {
  font-weight: 900;
  font-family: "Roboto";
}

/* mobile */
@media (max-width: 740px) {
  p {
    font-size: 1.1rem;
  }

  #intro {
    column-gap: 1rem;
  }
}
